package com.superhero.miniprogram.service;

import cn.hutool.poi.excel.ExcelWriter;
import com.superhero.common.pojo.PageInput;
import com.superhero.common.pojo.entity.AccessRegistration;
import com.superhero.common.pojo.vo.HealthInfoVo;
import com.superhero.common.pojo.vo.InspectorEnd.AccessInfoInput;
import com.superhero.common.pojo.vo.InspectorEnd.InspectorInfo;
import com.superhero.common.pojo.vo.PageVo;
import com.superhero.common.pojo.vo.website.AccessStatisticVo;
import com.superhero.common.pojo.vo.website.TemperatureStatisticVo;

import javax.servlet.http.HttpServletResponse;

public interface InspectorService {

    HealthInfoVo getHealthQRCode(Integer id);

    AccessRegistration createAccessInfo(Integer id, AccessInfoInput input);

    AccessStatisticVo getAccessStatistic();

    TemperatureStatisticVo getTemperatureStatistic();

    PageVo getUserHealthInfoList(PageInput pageInput, Integer household, String keyword);

    ExcelWriter exportUserHealthInfoList(String keyword, Integer household, HttpServletResponse response);

    InspectorInfo getInspectorInfo();

    void changePassword(String username, String oldPassword, String newPassword);

}
